﻿using CQRSFramework.Events;

namespace CQRSFramework.Test.events
{
    public class AccountNameChangedEvent : DomainEvent
    {
        public string Name { get; set; }
        public string UserId { get; set; }
        public AccountNameChangedEvent(string name, string userId)
        {
            Name = name;
            UserId = userId;
        }
    }
}
